const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  routes: state => state.permission.routes,
  link: state => state.link.lnikArr,
  isActive: state => state.link.isActive,
  goods_id: state => state.goodsId.goods_id,
  edit_type: state => state.goodsId.isEdit,
  addRoutes: state => state.permission.routes
}
export default getters
